# -*- coding: utf-8 -*-

# Form implementation generated from reading ui file 'Ui_GridCreator.ui'
#
# Created: Thu Oct  1 13:20:24 2009
#      by: PyQt4 UI code generator 4.5.4
#
# WARNING! All changes made in this file will be lost!

from PyQt4 import QtCore, QtGui

class Ui_GridCreator(object):
    def setupUi(self, GridCreator):
        GridCreator.setObjectName("GridCreator")
        GridCreator.setWindowModality(QtCore.Qt.ApplicationModal)
        GridCreator.resize(400, 375)
        GridCreator.setModal(True)
        self.verticalLayout = QtGui.QVBoxLayout(GridCreator)
        self.verticalLayout.setObjectName("verticalLayout")
        self.label_2 = QtGui.QLabel(GridCreator)
        self.label_2.setWordWrap(True)
        self.label_2.setObjectName("label_2")
        self.verticalLayout.addWidget(self.label_2)
        self.label = QtGui.QLabel(GridCreator)
        self.label.setObjectName("label")
        self.verticalLayout.addWidget(self.label)
        self.sourceLayers = QtGui.QComboBox(GridCreator)
        self.sourceLayers.setObjectName("sourceLayers")
        self.verticalLayout.addWidget(self.sourceLayers)
        self.horizontalLayout_2 = QtGui.QHBoxLayout()
        self.horizontalLayout_2.setObjectName("horizontalLayout_2")
        self.label_3 = QtGui.QLabel(GridCreator)
        self.label_3.setObjectName("label_3")
        self.horizontalLayout_2.addWidget(self.label_3)
        self.outputFilename = QtGui.QLineEdit(GridCreator)
        self.outputFilename.setObjectName("outputFilename")
        self.horizontalLayout_2.addWidget(self.outputFilename)
        self.btnBrowse = QtGui.QPushButton(GridCreator)
        self.btnBrowse.setObjectName("btnBrowse")
        self.horizontalLayout_2.addWidget(self.btnBrowse)
        self.verticalLayout.addLayout(self.horizontalLayout_2)
        self.horizontalLayout = QtGui.QHBoxLayout()
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.label_4 = QtGui.QLabel(GridCreator)
        self.label_4.setObjectName("label_4")
        self.horizontalLayout.addWidget(self.label_4)
        self.cellSize = QtGui.QDoubleSpinBox(GridCreator)
        self.cellSize.setMinimum(1.0)
        self.cellSize.setMaximum(999999999.0)
        self.cellSize.setProperty("value", QtCore.QVariant(1000.0))
        self.cellSize.setObjectName("cellSize")
        self.horizontalLayout.addWidget(self.cellSize)
        self.verticalLayout.addLayout(self.horizontalLayout)
        self.progressBar = QtGui.QProgressBar(GridCreator)
        self.progressBar.setProperty("value", QtCore.QVariant(0))
        self.progressBar.setObjectName("progressBar")
        self.verticalLayout.addWidget(self.progressBar)
        self.buttonBox = QtGui.QDialogButtonBox(GridCreator)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel|QtGui.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName("buttonBox")
        self.verticalLayout.addWidget(self.buttonBox)

        self.retranslateUi(GridCreator)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL("rejected()"), GridCreator.reject)
        QtCore.QMetaObject.connectSlotsByName(GridCreator)

    def retranslateUi(self, GridCreator):
        GridCreator.setWindowTitle(QtGui.QApplication.translate("GridCreator", "GridCreator", None, QtGui.QApplication.UnicodeUTF8))
        self.label_2.setText(QtGui.QApplication.translate("GridCreator", "<b>GridCreator creates a grid layer based on the dimensions of the specified layer.</b>", None, QtGui.QApplication.UnicodeUTF8))
        self.label.setText(QtGui.QApplication.translate("GridCreator", "Source layer:", None, QtGui.QApplication.UnicodeUTF8))
        self.label_3.setText(QtGui.QApplication.translate("GridCreator", "Output file:", None, QtGui.QApplication.UnicodeUTF8))
        self.btnBrowse.setText(QtGui.QApplication.translate("GridCreator", "Browse", None, QtGui.QApplication.UnicodeUTF8))
        self.label_4.setText(QtGui.QApplication.translate("GridCreator", "Cell size (m)", None, QtGui.QApplication.UnicodeUTF8))

